<?php
return [
    //template配置
    'DEFAULT_V_LAYER'   => 'Template',
	//'配置项'=>'配置值'
    'URL_ROUTER_ON' => true,
    'URL_MAP_RULES'   => [
        //登录相关
        'login/signin'      => 'Home/Login/signin',     //登录页面
        'login/signup'      => 'Home/Login/signup',     //注册页面
        'login/findpass'    => 'Home/Login/findpass',   //找回密码页面
        'login/ajax'        => 'Home/Login/ajax',       //登录相关ajax请求
        'login/logout'      => 'Home/Login/logout',     //退出登录

        //管理员信息管理信息管理
        'index/resetpwd'    => 'Home/Index/resetpwd',
        'index/listp'       => 'Home/Index/listp',
        'index/ajax'        => 'Home/Index/ajax',

        //sys目录系统管理
        'sys/menu'          => 'Sys/Menu/index',
        'sys/menu/power'    => 'Sys/Menu/power',    //权限
        'sys/menu/addp'     => 'Sys/Menu/addp',    //添加新uri
        'sys/menu/ajax'     => 'Sys/Menu/ajax',    //

        //文章管理
        'article/listp'     => 'Content/Article/listp', //文章列表页
        'article/addp'      => 'Content/Article/addp',  //新增文章页
        'article/edit'      => 'Content/Article/edit',  //编辑文章页
        'article/save'      => 'Content/Article/save',  //文章保存Ajax
        'article/ajax'      => 'Content/Article/ajax',  //删除/隐藏/排序/首页等Ajax
        'article/about'     => 'Content/Article/about',//特殊文章列表,譬如

        //Ueditor辅助
        'server/ueditor'            => 'Server/Ueditor/ueditor',
        'server/ueditor/ueditor'    => 'Server/Ueditor/ueditor',
        'server/file/upload'        => 'Server/File/upload',
    ],
    'APP_DEBUG' =>  true,
    'DB_FIELD_CACHE'    =>  false,
    'HTML_CACHE_ON' =>  false,

    //公共布局layout
    'LAYOUT_PATH'   => './Common/Template/Public/layout/',

    //导入配置文件
    'LOAD_EXT_CONFIG'=>'database',
];